io/ring.h: drop unused and broken *_RING_ATTACH() macros
authorJan Beulich <jbeulich@suse.com>
Wed, 12 Jun 2013 08:07:48 +0000 (10:07 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 12 Jun 2013 08:07:48 +0000 (10:07 +0200)
commit613659da9b1755ddf0a291071f6551a0ad25419b
tree53532d2cc24671ad507605a339685f56dd7b41e3
parenta63c57093b610e8707653fb2320f48e2ad5acbc2
io/ring.h: drop unused and broken *_RING_ATTACH() macros

Initializing r*_prod_pvt and r*_cons from independent shared ring
fields is broken, as other macros in this header rely on them being
coupled. Furthermore using the backend variant would also imply a
security vulnerability.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/include/public/io/ring.h